package com.play.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
	
	@RequestMapping("/index")
    public String greeting(Model model) {
        model.addAttribute("test", "Hello World!");
        return "index"; 
    }
}
